package com.jz.community.basecomm.bean.baseGoods;

import java.util.List;

public class BaseGoodsInfo {


    private EmbeddedBeanXX _embedded;
    private LinksBeanXX _links;
    private PageBean page;

    public EmbeddedBeanXX get_embedded() {
        return _embedded;
    }

    public void set_embedded(EmbeddedBeanXX _embedded) {
        this._embedded = _embedded;
    }

    public LinksBeanXX get_links() {
        return _links;
    }

    public void set_links(LinksBeanXX _links) {
        this._links = _links;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public static class EmbeddedBeanXX {
        private List<ContentBeanX> content;

        public List<ContentBeanX> getContent() {
            return content;
        }

        public void setContent(List<ContentBeanX> content) {
            this.content = content;
        }

        public static class ContentBeanX {
            /**
             * id : 885913
             * status : 3
             * title : 顾大叔纯正红糖350g
             * icon : http://upload.shequren.cn/uploads_new/201810/23/1o0dtbkt10blr.jpg
             * saleCount : 3
             * buyType : 0
             * shopId : 1769
             * shop : {"id":"1769","name":"社区人新零售便利店","logo":"http://upload.shequren.cn/uploads_new/201807/20/1o0d1psuhgc03.jpg","shopTypeName":"楼下小店","shopTypeId":"44","sendType":"2","mainBusinessId":"1","goodsTotals":1098,"assuranceServices":[{"id":"10","name":"正品保障"},{"id":"20","name":"社区人自营品牌"},{"id":"30","name":"支持无理由退换货"},{"id":"40","name":"自提点代收免邮"},{"id":"50","name":"偏远地区不发货"},{"id":"60","name":"不支持退换货"}],"sendPriceTypeQyg":2,"paymentTypeQyg":null,"_links":"/shp/shops/1769"}
             * source : 0
             * price : 6.5
             * shareCharges : 0
             * stock : 3
             * discountPrice : null
             * skuProperties : [{"id":"55568712084931903","status":null,"version":0,"createTime":"2018-10-23 16:14:28","updateTime":"2018-12-20 16:39:32","name":"商品规格","propertyValues":[{"id":"55568712084955259","status":null,"version":0,"createTime":"2018-10-23 16:14:28","updateTime":"2018-12-20 16:39:55","propertyValue":"一件"}],"sort":0}]
             * skuInfos : [{"id":"1243311","status":null,"version":0,"createTime":"2018-10-23 16:14:28","updateTime":"2018-12-20 17:07:23","icon":null,"price":6.5,"discountPrice":null,"stock":3,"stockInfinite":0,"code":null,"charges":0,"spStr":"商品规格|一件","spStrVal":"一件","catNum":0,"spidStr":"55568712084931903|55568712084955259"}]
             * _embedded : {"category":{"id":"569","name":"饮料冲饮","shopType":"2","platformId":"101","platformInfo":"http://api.shoppingyizhan.com/dic/code-tables/101","_embedded":{"childCategory":[]},"_links":{"self":{"href":"/gds/goods-categories/569"},"platformInfo":{"href":"http://api.shoppingyizhan.com/dic/code-tables/101"}}}}
             * _links : {"self":{"href":"/gds/goods-sqrs/885913"},"content":{"href":"http://api.shoppingyizhan.com/gds/goods/content/885913"},"shopInfo":{"href":"http://api.shoppingyizhan.com/shp/shops/1769"}}
             */

            private String id;
            private int status;
            private String title;
            private String icon;
            private int saleCount;
            private int buyType;
            private String shopId;
            private ShopBean shop;
            private int source;
            private String price;
            private int shareCharges;
            private int stock;
            private String discountPrice;
            private EmbeddedBeanX _embedded;
            private LinksBeanX _links;
            private List<SkuPropertiesBean> skuProperties;
            private List<SkuInfosBean> skuInfos;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public int getSaleCount() {
                return saleCount;
            }

            public void setSaleCount(int saleCount) {
                this.saleCount = saleCount;
            }

            public int getBuyType() {
                return buyType;
            }

            public void setBuyType(int buyType) {
                this.buyType = buyType;
            }

            public String getShopId() {
                return shopId;
            }

            public void setShopId(String shopId) {
                this.shopId = shopId;
            }

            public ShopBean getShop() {
                return shop;
            }

            public void setShop(ShopBean shop) {
                this.shop = shop;
            }

            public int getSource() {
                return source;
            }

            public void setSource(int source) {
                this.source = source;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public int getShareCharges() {
                return shareCharges;
            }

            public void setShareCharges(int shareCharges) {
                this.shareCharges = shareCharges;
            }

            public int getStock() {
                return stock;
            }

            public void setStock(int stock) {
                this.stock = stock;
            }

            public String getDiscountPrice() {
                return discountPrice;
            }

            public void setDiscountPrice(String discountPrice) {
                this.discountPrice = discountPrice;
            }

            public EmbeddedBeanX get_embedded() {
                return _embedded;
            }

            public void set_embedded(EmbeddedBeanX _embedded) {
                this._embedded = _embedded;
            }

            public LinksBeanX get_links() {
                return _links;
            }

            public void set_links(LinksBeanX _links) {
                this._links = _links;
            }

            public List<SkuPropertiesBean> getSkuProperties() {
                return skuProperties;
            }

            public void setSkuProperties(List<SkuPropertiesBean> skuProperties) {
                this.skuProperties = skuProperties;
            }

            public List<SkuInfosBean> getSkuInfos() {
                return skuInfos;
            }

            public void setSkuInfos(List<SkuInfosBean> skuInfos) {
                this.skuInfos = skuInfos;
            }

            public static class ShopBean {
                /**
                 * id : 1769
                 * name : 社区人新零售便利店
                 * logo : http://upload.shequren.cn/uploads_new/201807/20/1o0d1psuhgc03.jpg
                 * shopTypeName : 楼下小店
                 * shopTypeId : 44
                 * sendType : 2
                 * mainBusinessId : 1
                 * goodsTotals : 1098
                 * assuranceServices : [{"id":"10","name":"正品保障"},{"id":"20","name":"社区人自营品牌"},{"id":"30","name":"支持无理由退换货"},{"id":"40","name":"自提点代收免邮"},{"id":"50","name":"偏远地区不发货"},{"id":"60","name":"不支持退换货"}]
                 * sendPriceTypeQyg : 2
                 * paymentTypeQyg : null
                 * _links : /shp/shops/1769
                 */

                private String id;
                private String name;
                private String logo;
                private String shopTypeName;
                private String shopTypeId;
                private String sendType;
                private String mainBusinessId;
                private int goodsTotals;
                private int sendPriceTypeQyg;
                private Object paymentTypeQyg;
                private String _links;
                private List<AssuranceServicesBean> assuranceServices;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getLogo() {
                    return logo;
                }

                public void setLogo(String logo) {
                    this.logo = logo;
                }

                public String getShopTypeName() {
                    return shopTypeName;
                }

                public void setShopTypeName(String shopTypeName) {
                    this.shopTypeName = shopTypeName;
                }

                public String getShopTypeId() {
                    return shopTypeId;
                }

                public void setShopTypeId(String shopTypeId) {
                    this.shopTypeId = shopTypeId;
                }

                public String getSendType() {
                    return sendType;
                }

                public void setSendType(String sendType) {
                    this.sendType = sendType;
                }

                public String getMainBusinessId() {
                    return mainBusinessId;
                }

                public void setMainBusinessId(String mainBusinessId) {
                    this.mainBusinessId = mainBusinessId;
                }

                public int getGoodsTotals() {
                    return goodsTotals;
                }

                public void setGoodsTotals(int goodsTotals) {
                    this.goodsTotals = goodsTotals;
                }

                public int getSendPriceTypeQyg() {
                    return sendPriceTypeQyg;
                }

                public void setSendPriceTypeQyg(int sendPriceTypeQyg) {
                    this.sendPriceTypeQyg = sendPriceTypeQyg;
                }

                public Object getPaymentTypeQyg() {
                    return paymentTypeQyg;
                }

                public void setPaymentTypeQyg(Object paymentTypeQyg) {
                    this.paymentTypeQyg = paymentTypeQyg;
                }

                public String get_links() {
                    return _links;
                }

                public void set_links(String _links) {
                    this._links = _links;
                }

                public List<AssuranceServicesBean> getAssuranceServices() {
                    return assuranceServices;
                }

                public void setAssuranceServices(List<AssuranceServicesBean> assuranceServices) {
                    this.assuranceServices = assuranceServices;
                }

                public static class AssuranceServicesBean {
                    /**
                     * id : 10
                     * name : 正品保障
                     */

                    private String id;
                    private String name;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }
                }
            }

            public static class EmbeddedBeanX {
                /**
                 * category : {"id":"569","name":"饮料冲饮","shopType":"2","platformId":"101","platformInfo":"http://api.shoppingyizhan.com/dic/code-tables/101","_embedded":{"childCategory":[]},"_links":{"self":{"href":"/gds/goods-categories/569"},"platformInfo":{"href":"http://api.shoppingyizhan.com/dic/code-tables/101"}}}
                 */

                private CategoryBean category;

                public CategoryBean getCategory() {
                    return category;
                }

                public void setCategory(CategoryBean category) {
                    this.category = category;
                }

                public static class CategoryBean {
                    /**
                     * id : 569
                     * name : 饮料冲饮
                     * shopType : 2
                     * platformId : 101
                     * platformInfo : http://api.shoppingyizhan.com/dic/code-tables/101
                     * _embedded : {"childCategory":[]}
                     * _links : {"self":{"href":"/gds/goods-categories/569"},"platformInfo":{"href":"http://api.shoppingyizhan.com/dic/code-tables/101"}}
                     */

                    private String id;
                    private String name;
                    private String shopType;
                    private String platformId;
                    private String platformInfo;
                    private EmbeddedBean _embedded;
                    private LinksBean _links;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getShopType() {
                        return shopType;
                    }

                    public void setShopType(String shopType) {
                        this.shopType = shopType;
                    }

                    public String getPlatformId() {
                        return platformId;
                    }

                    public void setPlatformId(String platformId) {
                        this.platformId = platformId;
                    }

                    public String getPlatformInfo() {
                        return platformInfo;
                    }

                    public void setPlatformInfo(String platformInfo) {
                        this.platformInfo = platformInfo;
                    }

                    public EmbeddedBean get_embedded() {
                        return _embedded;
                    }

                    public void set_embedded(EmbeddedBean _embedded) {
                        this._embedded = _embedded;
                    }

                    public LinksBean get_links() {
                        return _links;
                    }

                    public void set_links(LinksBean _links) {
                        this._links = _links;
                    }

                    public static class EmbeddedBean {
                        private List<?> childCategory;

                        public List<?> getChildCategory() {
                            return childCategory;
                        }

                        public void setChildCategory(List<?> childCategory) {
                            this.childCategory = childCategory;
                        }
                    }

                    public static class LinksBean {
                        /**
                         * self : {"href":"/gds/goods-categories/569"}
                         * platformInfo : {"href":"http://api.shoppingyizhan.com/dic/code-tables/101"}
                         */

                        private SelfBean self;
                        private PlatformInfoBean platformInfo;

                        public SelfBean getSelf() {
                            return self;
                        }

                        public void setSelf(SelfBean self) {
                            this.self = self;
                        }

                        public PlatformInfoBean getPlatformInfo() {
                            return platformInfo;
                        }

                        public void setPlatformInfo(PlatformInfoBean platformInfo) {
                            this.platformInfo = platformInfo;
                        }

                        public static class SelfBean {
                            /**
                             * href : /gds/goods-categories/569
                             */

                            private String href;

                            public String getHref() {
                                return href;
                            }

                            public void setHref(String href) {
                                this.href = href;
                            }
                        }

                        public static class PlatformInfoBean {
                            /**
                             * href : http://api.shoppingyizhan.com/dic/code-tables/101
                             */

                            private String href;

                            public String getHref() {
                                return href;
                            }

                            public void setHref(String href) {
                                this.href = href;
                            }
                        }
                    }
                }
            }

            public static class LinksBeanX {
                /**
                 * self : {"href":"/gds/goods-sqrs/885913"}
                 * content : {"href":"http://api.shoppingyizhan.com/gds/goods/content/885913"}
                 * shopInfo : {"href":"http://api.shoppingyizhan.com/shp/shops/1769"}
                 */

                private SelfBeanX self;
                private ContentBean content;
                private ShopInfoBean shopInfo;

                public SelfBeanX getSelf() {
                    return self;
                }

                public void setSelf(SelfBeanX self) {
                    this.self = self;
                }

                public ContentBean getContent() {
                    return content;
                }

                public void setContent(ContentBean content) {
                    this.content = content;
                }

                public ShopInfoBean getShopInfo() {
                    return shopInfo;
                }

                public void setShopInfo(ShopInfoBean shopInfo) {
                    this.shopInfo = shopInfo;
                }

                public static class SelfBeanX {
                    /**
                     * href : /gds/goods-sqrs/885913
                     */

                    private String href;

                    public String getHref() {
                        return href;
                    }

                    public void setHref(String href) {
                        this.href = href;
                    }
                }

                public static class ContentBean {
                    /**
                     * href : http://api.shoppingyizhan.com/gds/goods/content/885913
                     */

                    private String href;

                    public String getHref() {
                        return href;
                    }

                    public void setHref(String href) {
                        this.href = href;
                    }
                }

                public static class ShopInfoBean {
                    /**
                     * href : http://api.shoppingyizhan.com/shp/shops/1769
                     */

                    private String href;

                    public String getHref() {
                        return href;
                    }

                    public void setHref(String href) {
                        this.href = href;
                    }
                }
            }

            public static class SkuPropertiesBean {
                /**
                 * id : 55568712084931903
                 * status : null
                 * version : 0
                 * createTime : 2018-10-23 16:14:28
                 * updateTime : 2018-12-20 16:39:32
                 * name : 商品规格
                 * propertyValues : [{"id":"55568712084955259","status":null,"version":0,"createTime":"2018-10-23 16:14:28","updateTime":"2018-12-20 16:39:55","propertyValue":"一件"}]
                 * sort : 0
                 */

                private String id;
                private String status;
                private int version;
                private String createTime;
                private String updateTime;
                private String name;
                private int sort;
                private boolean isChickedOk = false;
                private List<PropertyValuesBean> propertyValues;
                private String currentChooseSkuId;

                public String getCurrentChooseSkuId() {
                    return currentChooseSkuId;
                }

                public void setCurrentChooseSkuId(String currentChooseSkuId) {
                    this.currentChooseSkuId = currentChooseSkuId;
                }
                public boolean isChickedOk() {
                    return isChickedOk;
                }

                public void setChickedOk(boolean chickedOk) {
                    isChickedOk = chickedOk;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public int getVersion() {
                    return version;
                }

                public void setVersion(int version) {
                    this.version = version;
                }

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public String getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(String updateTime) {
                    this.updateTime = updateTime;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getSort() {
                    return sort;
                }

                public void setSort(int sort) {
                    this.sort = sort;
                }

                public List<PropertyValuesBean> getPropertyValues() {
                    return propertyValues;
                }

                public void setPropertyValues(List<PropertyValuesBean> propertyValues) {
                    this.propertyValues = propertyValues;
                }

                public static class PropertyValuesBean {
                    /**
                     * id : 55568712084955259
                     * status : null
                     * version : 0
                     * createTime : 2018-10-23 16:14:28
                     * updateTime : 2018-12-20 16:39:55
                     * propertyValue : 一件
                     */

                    private String id;
                    private String status;
                    private int version;
                    private String createTime;
                    private String updateTime;
                    private String propertyValue;
                    private boolean isChick;

                    public boolean isChick() {
                        return isChick;
                    }

                    public void setChick(boolean chick) {
                        isChick = chick;
                    }

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getStatus() {
                        return status;
                    }

                    public void setStatus(String status) {
                        this.status = status;
                    }

                    public int getVersion() {
                        return version;
                    }

                    public void setVersion(int version) {
                        this.version = version;
                    }

                    public String getCreateTime() {
                        return createTime;
                    }

                    public void setCreateTime(String createTime) {
                        this.createTime = createTime;
                    }

                    public String getUpdateTime() {
                        return updateTime;
                    }

                    public void setUpdateTime(String updateTime) {
                        this.updateTime = updateTime;
                    }

                    public String getPropertyValue() {
                        return propertyValue;
                    }

                    public void setPropertyValue(String propertyValue) {
                        this.propertyValue = propertyValue;
                    }
                }
            }

            public static class SkuInfosBean {
                /**
                 * id : 1243311
                 * status : null
                 * version : 0
                 * createTime : 2018-10-23 16:14:28
                 * updateTime : 2018-12-20 17:07:23
                 * icon : null
                 * price : 6.5
                 * discountPrice : null
                 * stock : 3
                 * stockInfinite : 0
                 * code : null
                 * charges : 0
                 * spStr : 商品规格|一件
                 * spStrVal : 一件
                 * catNum : 0
                 * spidStr : 55568712084931903|55568712084955259
                 */

                private String id;
                private String status;
                private int version;
                private String createTime;
                private String updateTime;
                private String icon;
                private String price;
                private String discountPrice;
                private int stock;
                private int stockInfinite;
                private String code;
                private int charges;
                private String spStr;
                private String spStrVal;
                private int catNum;
                private String spidStr;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public int getVersion() {
                    return version;
                }

                public void setVersion(int version) {
                    this.version = version;
                }

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public String getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(String updateTime) {
                    this.updateTime = updateTime;
                }

                public String getIcon() {
                    return icon;
                }

                public void setIcon(String icon) {
                    this.icon = icon;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public String getDiscountPrice() {
                    return discountPrice;
                }

                public void setDiscountPrice(String discountPrice) {
                    this.discountPrice = discountPrice;
                }

                public int getStock() {
                    return stock;
                }

                public void setStock(int stock) {
                    this.stock = stock;
                }

                public int getStockInfinite() {
                    return stockInfinite;
                }

                public void setStockInfinite(int stockInfinite) {
                    this.stockInfinite = stockInfinite;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public int getCharges() {
                    return charges;
                }

                public void setCharges(int charges) {
                    this.charges = charges;
                }

                public String getSpStr() {
                    return spStr;
                }

                public void setSpStr(String spStr) {
                    this.spStr = spStr;
                }

                public String getSpStrVal() {
                    return spStrVal;
                }

                public void setSpStrVal(String spStrVal) {
                    this.spStrVal = spStrVal;
                }

                public int getCatNum() {
                    return catNum;
                }

                public void setCatNum(int catNum) {
                    this.catNum = catNum;
                }

                public String getSpidStr() {
                    return spidStr;
                }

                public void setSpidStr(String spidStr) {
                    this.spidStr = spidStr;
                }
            }
        }
    }

    public static class LinksBeanXX {
        /**
         * first : {"href":"http://api.shoppingyizhan.com/gds/goods-sqrs?filter=shopId%3A%3A1769%7CcategoryId%3A%3A569&page=0&size=10&sort=createTime,desc"}
         * self : {"href":"http://api.shoppingyizhan.com/gds/goods-sqrs?filter=shopId%3A%3A1769%7CcategoryId%3A%3A569&page=0&size=10&sort=createTime,desc"}
         * next : {"href":"http://api.shoppingyizhan.com/gds/goods-sqrs?filter=shopId%3A%3A1769%7CcategoryId%3A%3A569&page=1&size=10&sort=createTime,desc"}
         * last : {"href":"http://api.shoppingyizhan.com/gds/goods-sqrs?filter=shopId%3A%3A1769%7CcategoryId%3A%3A569&page=13&size=10&sort=createTime,desc"}
         */

        private FirstBean first;
        private SelfBeanXX self;
        private NextBean next;
        private LastBean last;

        public FirstBean getFirst() {
            return first;
        }

        public void setFirst(FirstBean first) {
            this.first = first;
        }

        public SelfBeanXX getSelf() {
            return self;
        }

        public void setSelf(SelfBeanXX self) {
            this.self = self;
        }

        public NextBean getNext() {
            return next;
        }

        public void setNext(NextBean next) {
            this.next = next;
        }

        public LastBean getLast() {
            return last;
        }

        public void setLast(LastBean last) {
            this.last = last;
        }

        public static class FirstBean {
            /**
             * href : http://api.shoppingyizhan.com/gds/goods-sqrs?filter=shopId%3A%3A1769%7CcategoryId%3A%3A569&page=0&size=10&sort=createTime,desc
             */

            private String href;

            public String getHref() {
                return href;
            }

            public void setHref(String href) {
                this.href = href;
            }
        }

        public static class SelfBeanXX {
            /**
             * href : http://api.shoppingyizhan.com/gds/goods-sqrs?filter=shopId%3A%3A1769%7CcategoryId%3A%3A569&page=0&size=10&sort=createTime,desc
             */

            private String href;

            public String getHref() {
                return href;
            }

            public void setHref(String href) {
                this.href = href;
            }
        }

        public static class NextBean {
            /**
             * href : http://api.shoppingyizhan.com/gds/goods-sqrs?filter=shopId%3A%3A1769%7CcategoryId%3A%3A569&page=1&size=10&sort=createTime,desc
             */

            private String href;

            public String getHref() {
                return href;
            }

            public void setHref(String href) {
                this.href = href;
            }
        }

        public static class LastBean {
            /**
             * href : http://api.shoppingyizhan.com/gds/goods-sqrs?filter=shopId%3A%3A1769%7CcategoryId%3A%3A569&page=13&size=10&sort=createTime,desc
             */

            private String href;

            public String getHref() {
                return href;
            }

            public void setHref(String href) {
                this.href = href;
            }
        }
    }

    public static class PageBean {
        /**
         * size : 10
         * totalElements : 138
         * totalPages : 14
         * number : 0
         */

        private int size;
        private int totalElements;
        private int totalPages;
        private int number;

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getTotalElements() {
            return totalElements;
        }

        public void setTotalElements(int totalElements) {
            this.totalElements = totalElements;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }
    }
}
